package com.lyc.dao;

import com.lyc.entity.User;
import com.lyc.vo.LoginVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/11/18 18:42
 * @description：
 * @modified By：
 * @version:
 */
@Mapper
public interface UserDao {
    public List<User> findAll();

    List<User> select(User user);

    int deleteById(int id);

    int updateById(User user);

    int insert(User user);

    String selectByPassword(LoginVo loginVo);
}
